package fr.form.synthese;

import java.util.Date;

public class SyntheseParticipation implements java.io.Serializable,Comparable<SyntheseParticipation> {

	private static final long serialVersionUID = 1L;

	private Integer id;
	private String user;
	private String application;
	private String statutParticipation;
	private Date dateMaj;
	private Date dateCreate;
	private String dateMajStr;
	private String reponses;
	
	public SyntheseParticipation() {}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getStatutParticipation() {
		return this.statutParticipation;
	}

	public void setStatutParticipation(String pStatutParticipation) {
		this.statutParticipation = pStatutParticipation;
	}

	public String getDateMajStr() {
		return dateMajStr;
	}

	public void setDateMajStr(String dateMajStr) {
		this.dateMajStr = dateMajStr;
	}

	public Date getDateMaj() {
		return dateMaj;
	}

	public void setDateMaj(Date dateMaj) {
		this.dateMaj = dateMaj;
	}

	public int compareTo(SyntheseParticipation syn) {
		return syn.getDateCreate().compareTo(this.getDateCreate());
	}

	public Date getDateCreate() {
		return dateCreate;
	}

	public void setDateCreate(Date dateCreate) {
		this.dateCreate = dateCreate;
	}

	public String getUser() {
		return user;
	}

	public void setUser(String user) {
		this.user = user;
	}

	public String getApplication() {
		return application;
	}

	public void setApplication(String application) {
		this.application = application;
	}

	public String getReponses() {
		return reponses;
	}

	public void setReponses(String reponses) {
		this.reponses = reponses;
	}

}
